package com.song.pj.common.service;

import com.song.pj.common.cache.Cache;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component
public class ServiceCache {

    private Cache cache;


    @Autowired
    public ServiceCache(@Qualifier("softCache")Cache cache){
        this.cache = cache;
        System.out.println(this.cache);
    }
}
